/*
 * @description: 
 * @Date: 2022-11-24 19:18:43
 * @example: 
 * @params: 
 */
import Vue from 'vue'
import App from './App.vue'
import store from '@/store/index'
import router from '@/router/index'
import "../public/mapbox-gl.css"
import ViewUI, { Message } from 'view-design';
import 'view-design/dist/styles/iview.css';
import intro from 'intro.js' // introjs库
import 'intro.js/introjs.css' // introjs默认css样式
// introjs还提供了多种主题，可以通过以下方式引入
import 'intro.js/themes/introjs-modern.css' // introjs主题
// 加到prototype中，直接通过vue实例就能调用intro了
Vue.prototype.$intro = intro
import VDistpicker from 'v-distpicker'
Vue.component('v-distpicker', VDistpicker)

import  VueQuillEditor from 'vue-quill-editor'
// require styles 引入样式
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
Vue.use(VueQuillEditor)
// import VueI18n from 'vue-i18n';
// Vue.use(VueI18n);

// const i18n = new VueI18n({
//   locale:localStorage.getItem('lang') || 'en',
//   messages:{
//     'en':require(),
//     'zh':require(),
//   }

// })
import VueCodeMirror from 'vue-codemirror'
Vue.use(VueCodeMirror)
Vue.prototype.$bus = new Vue();
Vue.use(ViewUI);
Vue.config.productionTip = false
window.myVue = new Vue();
new Vue({
  //i18n:i18n,这一步很重要,一定要加载在vue里
  store,
  router,
  render: h => h(App),
}).$mount('#app')
